s = "s1=0/2 ||| s2 = 1/3"

tmp = [ e.split("=")[0].strip() for e in s.split("|||")]
print(tmp)

tmp_str = "  ".join(tmp)
print(tmp_str)